﻿/*
 * Toast8
 * All rights reserved
 * Copyright (C) 2014 Peter Nylander
 */

using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows.Controls;
using System.Windows.Media.Imaging;

namespace Toast8.ViewModels
{
    public class DesignTimeViewModel : INotifyPropertyChanged
    {
        public DesignTimeViewModel()
        {
            Title = "Pull me under";
            Album = "Images and words";
            Artist = "Dream Theater";
            Artwork = "C:/Users/Peter/SkyDrive/Projects/Toast8/Toast8/Assets/672CB80898818A67E7BCDBD6FAFA9F860D991780.jpg";
            PlayButtonContent = "\uE103";
        }

        public string Title { get; set; }
        public string Album { get; set; }
        public string Artist { get; set; }
        public string Artwork { get; set; }
        public string PlayButtonContent { get; set; }

        public event PropertyChangedEventHandler PropertyChanged;

        protected virtual void OnPropertyChanged([CallerMemberName]string propertyName = null)
        {
            PropertyChangedEventHandler handler = PropertyChanged;
            if (handler != null) handler(this, new PropertyChangedEventArgs(propertyName));
        }
    }
}
